package com.dingli.framework.mapper;

import com.dingli.framework.entity.Bank;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BankMapper {

    List<Bank> list(String search);

    int insert(Bank bank);

    int updateById(Bank bank);

    int deleteById(Long bankId);

    int deleteBatch(List<Long> idList);

    List<Bank> allBank();

}
